package org.androidpn.listener;

import org.androidpn.HospitalClientApplication;
import org.androidpn.activity.SubmitSecurityCodeActivity;
import org.androidpn.model.NetModel;
import org.androidpn.utils.JsonUtil;
import org.androidpn.utils.ToastUtil;

import com.android.volley.VolleyError;

public class CommentResponseListener implements com.android.volley.Response.Listener<String> ,com.android.volley.Response.ErrorListener{

	@Override
	public void onResponse(String response) {
		// TODO Auto-generated method stub
//		NetModel netModel =  JsonUtil.parseObject(response, NetModel.class);
//	    ToastUtil.showShortToast(HospitalClientApplication.getmInstance(), netModel.getContent());
	}
	@Override
	public void onErrorResponse(VolleyError error) {
		// TODO Auto-generated method stub
//		ToastUtil.showShortToast(HospitalClientApplication.getmInstance(), "网络异常");
		
	}
}